package com.miracle.mango.entity.permission;

import com.miracle.mango.entity.role.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description:
 * @author: wangxf
 * @date: Created in 2020/8/22 23:31
 */
@Mapper
public interface PermissionMapper {

    Permission getById(@Param("id") String id);

    int save(Permission permission);

    int update(Permission permission);

    int removeById(@Param("id") String id);

}
